package com.sui.bigdata.flink.sql.function.scalar;

import org.apache.flink.table.functions.ScalarFunction;

/**
 * @author YongChen
 * @date 2018/12/25 10:18
 * @description
 * @email yong_chen@sui.com
 */
public class NotEqual extends ScalarFunction {
    public Boolean eval(String str1,String str2) {
        return notEqual(str1,str2);
    }
    public Boolean notEqual(String str1,String str2){
       return str1.equals(str2)? false : true;
    }
}
